# import pandas as pd
# import matplotlib.pyplot as plt
# import seaborn as sns
# df=pd.read_excel('某地区上半年空气质量指数.xlsx')
# plt.figure(figsize=(8,4))
# sns.set_style(style='ticks', rc={'font.sans-serif':'SimHei'})
# sns.set_palette('bright')
# sns.scatterplot(x='日期',y='空气质量指数（AQI）',data=df)
# plt.title('某地区上半年空气质量指数的相关性散点图')
# plt.show()
# import pandas as pd
# import matplotlib.pyplot as plt
# import seaborn as sns
# df = pd.read_excel('某店铺促销方式分析.xlsx')
# plt.rcParams['font.sans-serif']='SimHei'
# plt.pie(x=df['购买人数'],labels=df['促销方式'],
#         autopct='%.2f%%',startangle=90,counterclock=False,
#         wedgeprops={'linewidth':1,'edgecolor':'white'})
# plt.title('某店铺不同促销方式下购买人数占比饼图')
# plt.show()
